package com.qyhl.webtv.commonlib.service;

import androidx.fragment.app.Fragment;

import com.alibaba.android.arouter.facade.template.IProvider;
import com.qyhl.webtv.basiclib.base.BaseFragment;
import com.qyhl.webtv.commonlib.entity.circle.CircleMessageBean;
import com.qyhl.webtv.commonlib.utils.inter.HomeActivityInterface;

import org.jsoup.Connection;

/**
 * 圈子模块对外提供接口
 */
public interface CircleService  extends IProvider {

    /**
     * 获取圈子消息
     * @param callBack
     */
    void getCircleMessage(CircleMessageCallBack callBack);

    BaseFragment getCircleHomeFragment(String menuName, HomeActivityInterface homeActivityInterface);

    Fragment getChatMessageFragment( );

    BaseFragment getPartyCircleFragment(String circleId);



     interface CircleMessageCallBack{
        void onError();
        void onSuccess(CircleMessageBean circleMessageBean);
    }

}
